package com.coolwen.dao;

import com.coolwen.entity.Collect;
import com.coolwen.entity.Student;
import com.coolwen.entity.Total;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int inserts(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

     void insert(Student student);

    List<Student> find(Map<String, Object> params);

    int find_count(Map<String, Object> params);

    List<Student> selectAllInfo();

    List<Student> selectStudentCourseInfo(Map<String, Object> params);

    int selectCourse_count(Map<String, Object> params);

    List<Student> selectStudentOneCourseInfo(Map<String, Object> params);

    int selectOneCourse_count(Map<String, Object> params);

    List<Collect> collect(Map<String, Object> params);

    int collect_count(Map<String, Object> params);

    List<Collect> collectBySemester(Map<String, Object> params);

    int semester_count(Map<String, Object> params);
}